<%--
  Created by IntelliJ IDEA.
  User: 王淼
  Date: 2025/3/23
  Time: 08:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%--声明--%>

<html>
<head>
    <title>购物车</title>
</head>
<body>
<h1>购物车</h1>
<c:forEach items="${cart}" var="book">
  <div>
    <h3>${book.name}  -  ${book.price}元</h3>
  </div>
</c:forEach>
</body>
</html>
